/**
 * Created by zhangdawei on 2016/8/12.
 */
app.factory('ChannelService', [ '$resource', function($resource) {
    return $resource( '/GMS/channel/:id/:action', {
        id:'@id',
        action : '@action'
    }, {
        findAllChannel : {
            method : 'GET',
            isArray : false
        }
    });
} ]);